package com.cd.javacxy.module.web.service;

import com.cd.javacxy.common.model.entity.CxyComment;
import com.cd.javacxy.common.model.query.CommentQuery;
import com.cd.javacxy.common.utils.PageResult;
import com.cd.javacxy.exception.BussinessException;

/**
 * CxyComment的服务接口
 *
 * @author yanghy
 */
public interface CxyCommentService {
    PageResult<CxyComment> findCommentByPage(CommentQuery commentQuery);

    CxyComment getCommentById(Integer commentId);

    int addComment(CxyComment comment) throws BussinessException;
}
